package com.ruoyi.project.web.quesDetail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 做题记录对象 web_ques_detail
 * 
 * @author ruoyi
 * @date 2021-02-04
 */
public class QuesDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 试卷 */
    @Excel(name = "试卷")
    private Long examId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 问题 */
    @Excel(name = "问题")
    private Long quesId;

    /** 选择项 */
    @Excel(name = "选择项")
    private String selectText;

    /** 是否正确 */
    @Excel(name = "是否正确")
    private String ringtFlag;

    /** 序号 */
    @Excel(name = "序号")
    private Integer sortNum;

    /** 是否做过 */
    @Excel(name = "是否做过")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setExamId(Long examId)
    {
        this.examId = examId;
    }

    public Long getExamId()
    {
        return examId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setQuesId(Long quesId)
    {
        this.quesId = quesId;
    }

    public Long getQuesId()
    {
        return quesId;
    }
    public void setSelectText(String selectText)
    {
        this.selectText = selectText;
    }

    public String getSelectText()
    {
        return selectText;
    }
    public void setRingtFlag(String ringtFlag)
    {
        this.ringtFlag = ringtFlag;
    }

    public String getRingtFlag()
    {
        return ringtFlag;
    }
    public void setSortNum(Integer sortNum)
    {
        this.sortNum = sortNum;
    }

    public Integer getSortNum()
    {
        return sortNum;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("examId", getExamId())
            .append("userId", getUserId())
            .append("quesId", getQuesId())
            .append("selectText", getSelectText())
            .append("ringtFlag", getRingtFlag())
            .append("sortNum", getSortNum())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
